﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once

#include "GcmpCommonEdit.h"
#include "IObject.h"

namespace gcmp
{
    class IInteractionEventArgs;

    /// \brief 交互事件处理接口类
    class GCMP_COMMON_EDIT_EXPORT IInteractionEventHandler : public IObject
    {
        DEFINE_CAST_DERIVED(IInteractionEventHandler, IObject);
    public:
        /// \brief 事件处理
        ///
        /// \brief pArgs 事件参数
        virtual void On(IInteractionEventArgs* pArgs) = 0;
    };
}